package igiant.order.facade.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotations.IdType;

import igiant.common.generator.base.BaseEntity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 订单表
 *
 */
@TableName("t_order")
public class Order extends BaseEntity {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 订单编号 */
	@TableField(value = "order_sn")
	private String orderSn;

	/** 组合订单ID */
	@TableField(value = "group_id")
	private String groupId;

	/** 订单类型,依次为商品，服务，预约 */
	@TableField(value = "order_type")
	private Integer orderType;

	/** 业务模式 */
	@TableField(value = "business_model_id")
	private String businessModelId;

	/** 客户ID */
	@TableField(value = "customer_id")
	private String customerId;

	/** 订单收货地址ID */
	@TableField(value = "order_address_id")
	private String orderAddressId;

	/** 门店ID */
	@TableField(value = "store_id")
	private String storeId;

	/** E店ID */
	@TableField(value = "eshop_id")
	private String eshopId;

	/** 订单状态，未完成，需调整 */
	@TableField(value = "order_status")
	private String orderStatus;

	/** 订单来源 */
	@TableField(value = "order_source")
	private String orderSource;

	/** 发票状态 yes(开)，no(不开) */
	@TableField(value = "invoice_status")
	private String invoiceStatus;

	/** 买家备注 */
	@TableField(value = "buyer_remark")
	private String buyerRemark;

	/** 卖家备注 */
	@TableField(value = "seller_remark")
	private String sellerRemark;

	/** 国安侠备注 */
	@TableField(value = "employee_remark")
	private String employeeRemark;

	/** 异常状态,未完成，后续添加 */
	@TableField(value = "abnormal_type")
	private String abnormalType;

	/** 异常备注 */
	@TableField(value = "abnormal_remark")
	private String abnormalRemark;

	/** 配送方式:配送,E店自配送,自提 */
	@TableField(value = "delivery_type")
	private String deliveryType;

	/** 交易价格(多) */
	@TableField(value = "trading_price")
	private BigDecimal tradingPrice;

	/** 应付金额(少) */
	@TableField(value = "payable_price")
	private BigDecimal payablePrice;

	/** 是否被拆订单 */
	@TableField(value = "is_split")
	private String isSplit;

	/** 员工ID */
	@TableField(value = "employee_id")
	private String employeeId;

	/** 员工电话 */
	@TableField(value = "employee_phone")
	private String employeePhone;

	/** 员工姓名 */
	@TableField(value = "employee_name")
	private String employeeName;

	/** 预约开始时间 */
	@TableField(value = "appointment_start_time")
	private Date appointmentStartTime;

	/** 预约结束时间 */
	@TableField(value = "appointment_end_time")
	private Date appointmentEndTime;

	/** E店组合商品ID */
	@TableField(value = "eshop_combo_pro_id")
	private String eshopComboProId;

	/** 有效期限 */
	@TableField(value = "expiry_date")
	private Date expiryDate;

	/** 组合商品价格 */
	@TableField(value = "combo_price")
	private BigDecimal comboPrice;

	/** 总数量 */
	@TableField(value = "total_quantity")
	private Integer totalQuantity;


	public String getOrderSn() {
		return this.orderSn;
	}

	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public Integer getOrderType() {
		return this.orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public String getBusinessModelId() {
		return this.businessModelId;
	}

	public void setBusinessModelId(String businessModelId) {
		this.businessModelId = businessModelId;
	}

	public String getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getOrderAddressId() {
		return this.orderAddressId;
	}

	public void setOrderAddressId(String orderAddressId) {
		this.orderAddressId = orderAddressId;
	}

	public String getStoreId() {
		return this.storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public String getEshopId() {
		return this.eshopId;
	}

	public void setEshopId(String eshopId) {
		this.eshopId = eshopId;
	}

	public String getOrderStatus() {
		return this.orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getOrderSource() {
		return this.orderSource;
	}

	public void setOrderSource(String orderSource) {
		this.orderSource = orderSource;
	}

	public String getInvoiceStatus() {
		return this.invoiceStatus;
	}

	public void setInvoiceStatus(String invoiceStatus) {
		this.invoiceStatus = invoiceStatus;
	}

	public String getBuyerRemark() {
		return this.buyerRemark;
	}

	public void setBuyerRemark(String buyerRemark) {
		this.buyerRemark = buyerRemark;
	}

	public String getSellerRemark() {
		return this.sellerRemark;
	}

	public void setSellerRemark(String sellerRemark) {
		this.sellerRemark = sellerRemark;
	}

	public String getEmployeeRemark() {
		return this.employeeRemark;
	}

	public void setEmployeeRemark(String employeeRemark) {
		this.employeeRemark = employeeRemark;
	}

	public String getAbnormalType() {
		return this.abnormalType;
	}

	public void setAbnormalType(String abnormalType) {
		this.abnormalType = abnormalType;
	}

	public String getAbnormalRemark() {
		return this.abnormalRemark;
	}

	public void setAbnormalRemark(String abnormalRemark) {
		this.abnormalRemark = abnormalRemark;
	}

	public String getDeliveryType() {
		return this.deliveryType;
	}

	public void setDeliveryType(String deliveryType) {
		this.deliveryType = deliveryType;
	}

	public BigDecimal getTradingPrice() {
		return this.tradingPrice;
	}

	public void setTradingPrice(BigDecimal tradingPrice) {
		this.tradingPrice = tradingPrice;
	}

	public BigDecimal getPayablePrice() {
		return this.payablePrice;
	}

	public void setPayablePrice(BigDecimal payablePrice) {
		this.payablePrice = payablePrice;
	}

	public String getIsSplit() {
		return this.isSplit;
	}

	public void setIsSplit(String isSplit) {
		this.isSplit = isSplit;
	}

	public String getEmployeeId() {
		return this.employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	public String getEmployeePhone() {
		return this.employeePhone;
	}

	public void setEmployeePhone(String employeePhone) {
		this.employeePhone = employeePhone;
	}

	public String getEmployeeName() {
		return this.employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public Date getAppointmentStartTime() {
		return this.appointmentStartTime;
	}

	public void setAppointmentStartTime(Date appointmentStartTime) {
		this.appointmentStartTime = appointmentStartTime;
	}

	public Date getAppointmentEndTime() {
		return this.appointmentEndTime;
	}

	public void setAppointmentEndTime(Date appointmentEndTime) {
		this.appointmentEndTime = appointmentEndTime;
	}

	public String getEshopComboProId() {
		return this.eshopComboProId;
	}

	public void setEshopComboProId(String eshopComboProId) {
		this.eshopComboProId = eshopComboProId;
	}

	public Date getExpiryDate() {
		return this.expiryDate;
	}

	public void setExpiryDate(Date expiryDate) {
		this.expiryDate = expiryDate;
	}

	public BigDecimal getComboPrice() {
		return this.comboPrice;
	}

	public void setComboPrice(BigDecimal comboPrice) {
		this.comboPrice = comboPrice;
	}

	public Integer getTotalQuantity() {
		return this.totalQuantity;
	}

	public void setTotalQuantity(Integer totalQuantity) {
		this.totalQuantity = totalQuantity;
	}

}
